package com.zh.device.po;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.zh.device.domain.BehaviorDO;

import java.io.Serializable;
import java.util.List;

public class DevcieExample implements Serializable{

    private Integer id;
    private String deviceSn;
    private String deviceName;
    private Integer deviceType;
    private String deviceState;

    public String getDeviceState() {
        return deviceState;
    }

    public void setDeviceState(String deviceState) {
        this.deviceState = deviceState;
    }

    private BehaviorDO behaviorDO;

    //设备绑定关系
    private List<DeviceRela> deviceRelas;

    //缓存的数据
    public JSONArray jsonArray;
    public Integer arrSize = 0;

    public String getDeviceSn() {
        return deviceSn;
    }

    public void setDeviceSn(String deviceSn) {
        this.deviceSn = deviceSn;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public Integer getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(Integer deviceType) {
        this.deviceType = deviceType;
    }

    public List<DeviceRela> getDeviceRelas() {
        return deviceRelas;
    }

    public void setDeviceRelas(List<DeviceRela> deviceRelas) {
        this.deviceRelas = deviceRelas;
    }

    public JSONArray getJsonArray() {
        return jsonArray;
    }

    public void setJsonArray(JSONArray jsonArray) {
        this.jsonArray = jsonArray;
    }

    public Integer getArrSize() {
        return arrSize;
    }

    public void setArrSize(Integer arrSize) {
        this.arrSize = arrSize;
    }


    public BehaviorDO getBehaviorDO() {
        return behaviorDO;
    }

    public void setBehaviorDO(BehaviorDO behaviorDO) {
        this.behaviorDO = behaviorDO;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}
